import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { RechargeRuleH5Component } from './recharge-rule-h5/recharge-rule-h5.component';
import { StaticComponent } from './static.component';

const routes: Routes = [
    {
        path: '',
        children: [
            {
                path: '',
                redirectTo: 'rechargeRule',
            },
            {
                path: 'rechargeRule',
                component: RechargeRuleH5Component,
            },
            {
                path: '**',
                redirectTo: ''
            }
        ]
    }
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class StaticRoutingModule { }
